﻿namespace Common.Base
{
    public class Offset
    {
        public Offset(Offset offset)
        {
            this.Top = offset.Top;
            this.Left = offset.Left;
            this.Right = offset.Right;
            this.Bottom = offset.Bottom;
        }

        public Offset(int top, int right, int left, int bottom)
        {
            this.Bottom = bottom;
            this.Left = left;
            this.Right = right;
            this.Top = top;
        }

        public Offset()
        {
            this.Bottom = 0;
            this.Left = 0;
            this.Right = 0;
            this.Top = 0;
        }

        public int Top { get; private set; }

        public int Right { get; private set; }

        public int Left { get; private set; }

        public int Bottom { get; private set; }
    }
}
